package com.fm.base.database;

import com.fm.base.database.exception.DBException;
import org.slf4j.Logger;

public interface DBClient extends AutoCloseable {
	<T extends DBO> DBDomain<T> getDomain(String name, Class<T> clazz);

	void setLogger(Logger logger);

	@Override
	void close() throws DBException;
}
